#ifndef NEXTDAYSTARTWORKINFOINPUT_H
#define NEXTDAYSTARTWORKINFOINPUT_H

#include <QDialog>
#include <QUuid>

namespace Ui {
class NextDayStartWorkInfoInput;
}

class  WorkTicketQEditTableDelegate : public QEditTableDelegate
{
	Q_OBJECT

public:

	WorkTicketQEditTableDelegate(QObject *parent = 0);
	~WorkTicketQEditTableDelegate();

	virtual void InitComboBox(const QModelIndex &index, QComboBox * editor) const;
};
class  NextDayWatchQEditTableDelegate : public QEditTableDelegate
{
	Q_OBJECT

public:

	NextDayWatchQEditTableDelegate(QObject *parent = 0);
	~NextDayWatchQEditTableDelegate();

	virtual void InitComboBox(const QModelIndex &index, QComboBox * editor) const;
};
class NextDayStartWorkInfoInput : public QDialog
{
    Q_OBJECT

public:
    explicit NextDayStartWorkInfoInput(QWidget *parent = 0);
    ~NextDayStartWorkInfoInput();

	bool initDialog();
	bool initWorkTicketTableView();
	void initWifiViewTableView();
	void initTomorrowWatchTableView();
	
	const QString getCurSheetTdjhID();

private slots:
    void on_btnAddWorkTicket_clicked();

    void on_btnDelWorkTicket_clicked();

    void on_btnSaveWorkTicket_clicked();

    void on_btnAddTomorrowWatch_clicked();

    void on_btnDelTomorrowWatch_clicked();

    void on_btnCheckWatchPerson_clicked();

    void on_btnSave_clicked();

    void on_btnClose_clicked();

private:
    Ui::NextDayStartWorkInfoInput *ui;
	QString m_curSelTdjhId = "4028947a5643fe33015644356fc10006";
	
	QEditTableDelegate *pEditTableDelegate;
	QRecordCheckTableModel *pTableModel2;
	QEditTableDelegate *pEditTableDelegate2;
	QRecordCheckTableModel *pTableModel3;
	QEditTableDelegate *pEditTableDelegate3;
	QUuid uid;
};

#endif // NEXTDAYSTARTWORKINFOINPUT_H
